Home

Operator Usage

Name

&&

Description

ket1 && ket2
return |yes> if both ket1 and ket2 are |yes>, |no> otherwise
sometimes it is cleaner to use the and() function instead of &&


Examples

|yes> && |yes>
    |yes>

|no> && |yes>
    |no>

|yes> && |fish>
    |no>


See also

and, or, ||

Operator type

infix type 2